package com.onlyyou.order.service;

import java.util.Map;

public interface OrderService {
    Integer getRows();

    Map<String,Object> findAll(Integer page,Integer limit);

    public Map<String,Object> insertOrder(Map<String, Object> orderInfo);

    public Map<String, Object> createOrder(String sku_id, String user_id);

    public Map<String, Object> getOrder(String order_id);

    public Map<String, Object> payOrder(String order_id, String sku_id);

    public Map<String,Object> updateOrderStatus(String order_id);

    Map<String, Object> saveOrder(String sku_id, Long user_id,Integer num);
}
